package com.meyoung.day1;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.testng.annotations.Test;

public class openChromedriver {
    @Test
    public void openchromeTest() throws InterruptedException {
        System.setProperty("webdriver.chrome.driver","C:\\Users\\cll520\\IdeaProjects\\selenium11\\drivers\\chromedriver.exe");
        WebDriver driver = new ChromeDriver();
        driver.get("https://www.baidu.com");
        Thread.sleep(5000);
        driver.quit();

        }
    }


